<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login Webfarm</title>

<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>


		<div id="loginform">
		<h1>Login Webfarm</h1>
		<%
		//Login failed
		if(request.getAttribute("fail") != null) {
			String div = "<div id=" + "error" +">";
			out.println(div);
			out.println("Inloggen mislukt");
			out.println("</div>");
		}		
		%>
<form method="post" action="login">
<table>
	<tr>
		<td>Username:</td>
		<td><input type="text"	name="user" ></td>
	</tr>
	<tr>
		<td>Password:</td>
		<td><input type="password" name="pass" ></td>
	</tr>
	
	<tr>
		<td colspan="2">
			<input type="submit" value="Inloggen">
		</td>
	</tr>
</table>
</form>	
</div>	

</body>
</html>